\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ulnone\fs28\fc1\cf1 Q: How do you store and access elements in the Storage class?\
\
A: Although Storage's instance variables permit you to access the data directly, this approach is discouraged. Instead, use the Storage object's methods (such as addElement: and elementAt:) to store and access the elements. \
\
Following is a code snippet that creates an empty Storage object, adds new elements to it, and then references them. The type-specific code is #defined for clarity. Note that the elements need to be added and referenced as pointers.\